home *** CD-ROM | disk | FTP | other *** search
- Unit SPX_FNC;
-
- {$X+,O+ }
- { SPX Library Version 3.0 Copyright 1994 Scott D. Ramsay }
-
- Interface
-
- Uses spx_obj;
-
- type
- quitProc = procedure;
-
- function sgn(h:integer):integer;
- function strint(s:string):longint;
- function intstr(l:longint):string;
- function ups(s:string):string;
- function st(h:longint):string;
- function max(a,b:integer):integer;
- function min(a,b:integer):integer;
- function compare(s1,s2:string):boolean;
- function dtcmp(var s1,s2;size:word):boolean;
- function cmp(var s1,s2;size:word):boolean;
- function lz(i,w:longint):string;
- function vl(h:string):longint;
- function spaces(h:integer):string;
- function repstr(h:integer;ch:char):string;
- function ifix(var a:integer;min,max:integer):boolean;
- function rfix(var a:real;min,max:real):boolean;
- function anything(s:string):boolean;
- function exist(f:string):boolean;
- function errmsg(n:integer):string;
- function TPerror(errorcode:integer) : string;
- procedure funpad(var s:string);
- procedure unpad(var s:string);
- procedure munpad(var s:string;b:byte);
- function fpad(s:string;h:integer):string;
- procedure pad(var s:string;h:integer);
- procedure fix(var s:string;h:string);
- procedure fixh(var s:string);
- function range(x,y,x1,y1,x2,y2:integer) : boolean;
- function rrange(x,y,x1,y1,x2,y2:real) : boolean;
- function between(x,x1,x2:longint):boolean;
- function fspaces(s:string;skip:byte):string;
- function GetPtr(p:pointer;offset:longint):pointer;
- function sar(value:integer;shift:byte):integer;
- function sal(value:integer;shift:byte):integer;
- function ptr2hex(p:pointer):string;
- function word2hex(w:word):string;
- function byte2hex(b:byte):string;
- procedure atexit(proc:QuitProc);
-
-